/**
 * 
 */
package esempi;

/**
 * @author romina
 * @see http://www.di.univaq.it/romina.eramo/tlp
 *
 */

class A{
	
	String method(B a, B b){
		return "a";
	}
	
}
class B extends A{
	
	String method(A a, B b){
		return "b";
	}
	
	String method(B a, A b){
		return "c";
	}
	
}

public class TestAB {
	
	
	
	public static void main(String[] args){
		A a = new A(); 
		B b = new B();
		A c = new B();
		
		//a.method(a, a);
		//b.method(b, b);
		//c.method(c, c);
		//b.method(b, c);
		}
}
